package com.rpc.framework;

/**
 * Description:
 * User: 27010
 * DateTime: 2017/8/20 11:37
 */
public class RpcProvider {
	public static void main(String[] args) throws Exception {
		HelloService helloService = new HelloServiceImpl();
		// RpcFramework.export(service, 1234);
		RpcServer server = new RpcServer(99);
		server.add(helloService.getClass().getName(), helloService);
	}

}
